module.exports = [
  {
    key: 'appName',
    title: '应用名称',
    dataType: 'varchar',
    rules: [{ required: true, message: '请输入应用名称' }],
    placeholder:"请输入应用名称"
  },{
    key: 'versionCode',
    title: 'weex版本',
    dataType: 'varchar',
    rules: [{ required: true, message: '请输入weex版本号' }],
    placeholder:"请输入weex版本"
  },{
    key: 'iosNativeVersionCodeStr',
    title: 'IOS版本',
    dataType: 'selectTag',
    placeholder:"请输入ios版本"
  },{
    key: 'androidNativeVersionCodeStr',
    title: 'Android版本',
    dataType: 'selectTag',
    placeholder:"请输入Android版本"
  },{
    key: 'fileUpKey',
    title: '上传文件',
    dataType: 'fileUp',
    fileUpUrl:'upload/file',
    rules: [{ required: true, message: '请上传文件' }]
  },{
    key: 'md5Code',
    title: '文件MD5',
    dataType: 'responseData'
  },{
    key: 'fileCount',
    title: '文件数量',
    dataType: 'int',
    rules: [{ required: true, message: '请输入文件数量' }]
  },{
    key: 'updateStrategy',
    title: '更新策略',
    dataType: 'selectByDefaultValue',
    defaultSelect: [{'key':'now', 'value':'0', 'name':'重启更新'}, {'key':'restart', 'value':'1', 'name':'立即更新'}],
    rules: [{ required: true}]
  },{
    key: 'fileKey',
    dataType: 'hidden',
  }
];
